package com.chixing.day03_oop;

public class CompanyTest {
    public static void main(String[] args) {
        Company c=new Company();
        c.setCompanyId(9001);
        c.setCompanyName("中国华为");
        c.setCompanyAddress("苏州桑田岛");
        c.setCompanyType("民营企业");
        c.setCompanyTel(122345L);
        c.recruit();
        c.viewResume();

        Company c1=new Company(9002,"中国李宁","民营企业","苏州东方之门",12345L);

        Job j1=new Job();
        j1.setJobId(1001);
        j1.setCompany(c1);
        j1.setJobName("Java前端工程师");
        j1.setMinWage(5000.0);
        j1.setMaxWage(9000.0);
        j1.setEdu("大专");
        j1.setWorkCity("苏州");
        System.out.println(j1.getCompany().getCompanyId());

        Job j2=new Job();
        j2.setJobId(1002);
        j2.setCompany(c1);
        j2.setJobName("Java后端工程师");
        j2.setMinWage(5000.0);
        j2.setMaxWage(9000.0);
        j2.setEdu("大专");
        j2.setWorkCity("常州");
    }
}
